package dto

import "time"

type MetaInfo struct {
	Id               string    `json:"id"`
	Start            int64     `json:"start"`
	End              int64     `json:"end"`
	FileName         string    `json:"fileName"`
	ObjectCreateTime time.Time `json:"-"`
}

type Hit struct {
	MetaInfo MetaInfo `json:"_source"`
}

type Hits struct {
	Hits []*Hit `json:"hits"`
}

type EsSearchResponse struct {
	Hits Hits `json:"hits"`
}
